package com.peas.platform.module.icims.expenditure.basal.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 账户信息
@Data
@EqualsAndHashCode(callSuper = false)
public class ExpenditureAccountDto extends BaseDto {

    // 账户类型
    // 枚举取值:ExpenditureAccountType
    @Comment(value = "账户类型", enumType = "ExpenditureAccountType")
    @Condition(operator = ConditionOperator.IN)
    private String accountType;

    // 账户编号
    @Comment(value = "账户编号")
    @Condition(operator = ConditionOperator.IN)
    private String accountCode;

    // 账户名称
    @Comment(value = "账户名称")
    private String accountName;

    // 银行ID
    // （银行表）外键
    @Comment(value = "银行ID")
    private Long bankId;

    // 账号
    @Comment(value = "账号")
    private String account;

    // 状态
    // 枚举取值:CommonEnableDisable
    @Comment(value = "状态", enumType = "CommonEnableDisable")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
